.demo .el-switch__label {
    position: absolute;
    display: none;
    color: #fff;
}
/*打开时文字位置设置*/
.demo .el-switch__label--right {
    z-index: 1;
    right: -3px;
}
/*关闭时文字位置设置*/
.demo .el-switch__label--left {
    z-index: 1;
    left: 19px;
}
/*显示文字*/
.demo .el-switch__label.is-active {
    display: block;
}
.demo.el-switch .el-switch__core,
.el-switch .el-switch__label {
    width: 50px !important;
}
/* 图片上传*/
.avatar-uploader .el-upload {
    border: 1px dashed #d9d9d9;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.avatar-uploader .el-upload:hover {
    border-color: #409EFF;
}
.avatar-uploader-icon {
    font-size: 28px;
    color: #8c939d;
    width: 178px;
    height: 178px;
    line-height: 178px;
    text-align: center;
}
.avatar {
    width: 178px;
    height: 178px;
    display: block;
}

.el-table .warning-row {
    background: oldlace;
}

.el-table .success-row {
    background: #f0f9eb;
}